<?php
if(!defined('ADMIN_DIR')){exit('Chưa định nghĩa ADMIN_DIR');}
/**
 * User: Ngannv
 * Email: ngankt2@gmail.com
 * Y!M : ngankt2
 * Date: 8/21/11
 * Time: 2:08 AM
 */

include_once 'jMasterExt.php';
class jMaster extends jController
{
    public $model='';
    public function __construct()
    {
        parent::__construct();
        $this->model=jModel::getAdminModel('jUserModel');
    }

    public function index()
    {
        $vars['jContent'] = '';
        $mod = $this->getParam('mod');
        if ($mod) {
            $vars['jContent'] = $this->getController($mod,null,get_class($this))->index();
        }
        $this->jSmarty->viewTemplate(ADMIN_DIR . 'jMaster.tpl', $vars);
    }
}
